﻿using AutoMapper;
using SX.BaseService.Repository.Entity;

namespace SX.BaseService.Service.SysPermission
{
    public class MapperConfig : Profile
    {
        public MapperConfig()
        {
            CreateMap<SysPermissionEntity, UserMenu>();

            CreateMap<MenuAddModel, SysPermissionEntity>();

            CreateMap<MenuUpdateModel, SysPermissionEntity>();
        }
    }
}
